package com.snackshop.service;

import com.snackshop.mapper.OrderMapper;
import com.snackshop.pojo.model.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class OrderService {
    @Autowired
    private OrderMapper orderMapper;

    public Integer addOrderFromGood(Integer goodsId, Integer goodsNumber, Date createTime,Integer addressId){
        Order order = new Order();
        return null;

    }
}
